home *** CD-ROM | disk | FTP | other *** search
- COMMAND IF
- -----------------------------------------------------------------
- Purpose: Simple but usefull if-construct
- Usage: IF(<expression>,<command>[,<alternative command>])
- Examples: if(1<2,echo(true),echo(false))
- if(xmin>t,.xmin=t)
- if(a,echo(a isnt 0),echo(a is 0))
- Notes: 1. Only simple expressions containing
- "<=", ">=", "<", ">", "=" are allowed ("==" is the same as "=")
- 2. Writing in C you would say:
- if(<expression>) <command>; else <alternative command>;
-